<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%@ page import="com.fick.hibernate.model.*"%>
<%@ page import="com.fick.hibernate.dao.*"%>
<%@ taglib uri="http://fckeditor.net/tags-fckeditor" prefix="FCK"%>
<html>
<head>
<title>河南省公安厅</title>
<link href="images/jiahao.css" rel="stylesheet" type="text/css">
<script language="JavaScript" src="js/meihuaxue.js"></script>
		<script type="text/javascript">
			function voli()
			{
				if(document.form1.leaderName.value == "")
				{
					alert("领导姓名不能为空!");
					form1.leaderName.focus();
					return false;
				}
				if(document.form1.pics.value == "")
				{
					alert("领导照片不能为空!");
					form1.pics.focus();
					return false;
				}
				
				if(document.form1.xueli.value == "")
				{
					alert("职位不能为空!");
					form1.xueli.focus();
					return false;
				}
				if(document.form1.content1.value == "")
				{
					alert("职位不能为空!");
					form1.content1.focus();
					return false;
				}
				if(document.form1.content2.value=="")
				{
					alert("工作简历不能为空!");
					form1.content2.foces();
					return false;
				}
				return true;
			}
		
	
		</script>	
</head>
	
<body>
<table width="100%"  height="100%"  border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td height="100%" align="center" valign="top" background="images/main_bj.gif" bgcolor="#FBFCFD"><table width="100%" border="0" cellspacing="0" cellpadding="0">
      <tr>
        <td height="23" align="left" valign="middle" background="images/main_top.gif"><table border="0" cellspacing="0" cellpadding="0">
          <tr>
            <td width="20" height="23">&nbsp;</td>
            <td width="400" height="23" align="left" valign="middle" class="ts_lmdh2">添加领导信息</td>
          </tr>
        </table></td>
      </tr>
    </table>
      <table width="98%" border="0" cellspacing="0" cellpadding="0">
        <tr>
          <td height="20"></td>
        </tr>
      </table>
      
	  
	  
	  
	  
<form name="form1" id="form1" action="../admin/managerLeader.do?method=addLeader" enctype="MULTIPART/FORM-DATA" method="post" onSubmit="return voli()"/>  
<input type="hidden" name="pho" id="pho" value=""/>
	  <table width="98%" border="0" cellpadding="0" cellspacing="1" bgcolor="#D7DFE1">
        <tr>
          <td width="20%" height="30" align="center" valign="middle" bgcolor="#FFFFFF">姓名：</td>
          <td height="30" colspan="3" align="left" valign="middle" bgcolor="#FFFFFF" style="padding-left:10px"><span style="padding-left:7px">
            <input name="leaderName" id="leaderName" type="text" class="ts_box3" >
          </span>
		  
		  </td>
        </tr>
        <tr>
          <td width="20%" height="30" align="center" valign="middle" bgcolor="#FFFFFF">照片：</td>
          <td height="30" colspan="3" align="left" valign="middle" bgcolor="#FFFFFF" style="padding-left:10px"><span style="padding-left:7px">
           <input type="file" name="pics" id="pics" class="ts_box3"/>
          </span></td>
        </tr>
        <tr>
          <td width="20%" height="30" align="center" valign="middle" bgcolor="#FFFFFF">职位：</td>
          <td colspan="3" height="30" align="left" valign="middle" bgcolor="#FFFFFF" style="padding-left:10px">
		  <input type="text" name="xueli" id="xueli" class="ts_box3"/>
		  </td>
        </tr>
        
		<tr>
          <td width="20%" height="30" align="center" valign="middle" bgcolor="#FFFFFF">职位描述：</td>
          <td colspan="3" height="30" align="left" valign="middle" bgcolor="#FFFFFF" style="padding-left:10px">
		  
	<FCK:editor id="content1" basePath="../admin/fckeditor/" height="200"
imageBrowserURL="/admin/fckeditor/editor/filemanager/browser/default/browser.html?Type=Image&Connector=connectors/jsp/connector"
linkBrowserURL="/admin/fckeditor/editor/filemanager/browser/default/browser.html?Connector=connectors/jsp/connector"
flashBrowserURL="/admin/fckeditor/editor/filemanager/browser/default/browser.html?Type=Flash&Connector=connectors/jsp/connector"
imageUploadURL="/admin/fckeditor/editor/filemanager/upload/simpleuploader?Type=Image"
linkUploadURL="/admin/fckeditor/editor/filemanager/upload/simpleuploader?Type=File"
flashUploadURL="/admin/fckeditor/editor/filemanager/upload/simpleuploader?Type=Flash">
															</FCK:editor>
		  
		  
		  </td>
        </tr>
		
		<tr>
          <td width="20%" height="30" align="center" valign="middle" bgcolor="#FFFFFF">教学情况：</td>
          <td colspan="3" height="30" align="left" valign="middle" bgcolor="#FFFFFF" style="padding-left:10px">
<FCK:editor id="content2" basePath="../admin/fckeditor/" height="200"
imageBrowserURL="/admin/fckeditor/editor/filemanager/browser/default/browser.html?Type=Image&Connector=connectors/jsp/connector"
linkBrowserURL="/admin/fckeditor/editor/filemanager/browser/default/browser.html?Connector=connectors/jsp/connector"
flashBrowserURL="/admin/fckeditor/editor/filemanager/browser/default/browser.html?Type=Flash&Connector=connectors/jsp/connector"
imageUploadURL="/admin/fckeditor/editor/filemanager/upload/simpleuploader?Type=Image"
linkUploadURL="/admin/fckeditor/editor/filemanager/upload/simpleuploader?Type=File"
flashUploadURL="/admin/fckeditor/editor/filemanager/upload/simpleuploader?Type=Flash">
</FCK:editor>
		  </td>
        </tr>
		
        
       
        <tr>
          <td height="30" colspan="4" align="center" valign="middle" bgcolor="#FFFFFF"><span style="padding-left:7px">
            <input type="submit" value="提交" />
			<input type="reset" value="清空" />
          </span></td>
        </tr>
      </table>
</form>
	  
	  <table width="98%" border="0" cellspacing="0" cellpadding="0">
        <tr>
          <td height="45" align="center" valign="middle">&nbsp;</td>
        </tr>
      </table></td>
  </tr>
</table>
</body>
</html>
<script type="text/javascript">
<!--
var message = "<%=session.getAttribute("message")%>";
if(message!=null && message!="null" && message !=""){
   alert(message);
  }
//-->
</script>
<%
	session.removeAttribute("message");
%>
